package com.dup.jxlh.admin.entities.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.dup.jxlh.admin.validator.ChapterApplyId;

import java.io.Serializable;
import java.math.BigInteger;

public class ChapterType implements Serializable {
    @TableId(type = IdType.AUTO)
    private BigInteger id;
    @ChapterApplyId
    private BigInteger chapterApplyId;
    private Integer type;
    private String typeName;

    public BigInteger getId() {
        return id;
    }

    public void setId(BigInteger id) {
        this.id = id;
    }

    public BigInteger getChapterApplyId() {
        return chapterApplyId;
    }

    public void setChapterApplyId(BigInteger chapterApplyId) {
        this.chapterApplyId = chapterApplyId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}
